<?php
/*
	页面类型
*/
defined('BY_JYA') or exit('error');
list($basicname)=$arguments;
$plugins = $this->plugins($basicname);
$diypage[]=array('action'=>'core','title'=>'系统-DIY页面');
foreach($plugins as $k=>$v){
	$plugintitle = pdo_getcolumn('core_plugins',array('name'=>$v),'title');
	$diypage = pdo_getcolumn('core_plugins',array('name'=>$v),'diypage');
	if(empty($diypage)){
		$diypage = array('action'=>'index/','title'=>'首页');
	}else{
		$diypage = json_decode($diypage,true);
	}
	foreach($diypage as $u=>$t){
			$t['title']=$plugintitle.'-'.$t['title'];
	}
}
return $diypage ;